package cn.com.cetccst.datacenter.collection.entity;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = CollectionDataEntity.TABLE_NAME)
public class CollectionDataEntity {
    public static final String TABLE_NAME = "collection_data_entity";

    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id")
    private long id;
    @ColumnInfo(name = "collect_time")
    private long collectTime;
    @ColumnInfo(name = "collect_type")
    private String collectType;
    @ColumnInfo(name = "collect_data")
    private String collectData;

    public long getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(long collectTime) {
        this.collectTime = collectTime;
    }

    public String getCollectType() {
        return collectType;
    }

    public void setCollectType(String collectType) {
        this.collectType = collectType;
    }

    public String getCollectData() {
        return collectData;
    }

    public void setCollectData(String collectData) {
        this.collectData = collectData;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }
}
